import request from '@/utils/request'

// 查询保中安全评测列表
export function listEvaluate_before(query) {
  return request({
    url: '/insurance/evaluate_before/list',
    method: 'get',
    params: query
  })
}

// 查询保中安全评测详细
export function getEvaluate_before(evaluateId) {
  return request({
    url: '/insurance/evaluate_before/' + evaluateId,
    method: 'get'
  })
}

// 新增保中安全评测
export function addEvaluate_before(data) {
  return request({
    url: '/insurance/evaluate_before',
    method: 'post',
    data: data
  })
}

// 修改保中安全评测
export function updateEvaluate_before(data) {
  return request({
    url: '/insurance/evaluate_before',
    method: 'put',
    data: data
  })
}

// 删除保中安全评测
export function delEvaluate_before(evaluateId) {
  return request({
    url: '/insurance/evaluate_before/' + evaluateId,
    method: 'delete'
  })
}
